/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.thongtinsv.model;

import com.thongtinsv.entity.User;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import java.util.UUID;

/**
 *
 * @author tritruong
 */
public class UserModel {

	public UserModel() {
	}
	
	public static List getRandomUser(int number) {
		List<User> lstUser = new ArrayList<User>();
		
		for (int i = 0; i < number; i++){
			lstUser.add(new User(UUID.randomUUID().toString(), new Random().nextInt(100)));
		}
		
		return lstUser;
	}
	
}
